package com.corgi.mybatis.annotation;

import com.corgi.mybatis.base.DefaultFieldEncryptStrategy;
import com.corgi.mybatis.base.EncryptFieldStrategy;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @title: EncryptField
 * @description:
 * @author: dengmiao
 * @create: 2019-10-18 09:39
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({})
public @interface EncryptField {

    String field() default "";

    Class<? extends EncryptFieldStrategy> encryptStrategy() default DefaultFieldEncryptStrategy.class;
}
